//
// Created by Scave on 2025/8/27.
//

#ifndef RIDER3D_PHYSICSSYSTEM_H
#define RIDER3D_PHYSICSSYSTEM_H

#include "Define.h"
#include "entityx/System.h"
#include "component/PhysicalComponent.h"

NS_RIDER_BEGIN

    class PhysicsSystem : public System<PhysicsSystem> {
    public:
        void configure(EntityManager &entities, EventManager &events) override;

        void update(EntityManager &entities, EventManager &events, TimeDelta dt) override;
    private:
        void ProcessUniformRectilinearMotion(Entity& entity);
    };

NS_RIDER_END

#endif //RIDER3D_PHYSICSSYSTEM_H
